package com.zzyl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(value = "ReservationVO", description = "预约信息表")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Reservation implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "预约人姓名", required = true)
    private String name;

    @ApiModelProperty(value = "预约人手机号", required = true)
    private String mobile;

    @ApiModelProperty(value = "预约时间", required = true)
    private LocalDateTime time;

    @ApiModelProperty(value = "探访人", required = true)
    private String visitor;

    @ApiModelProperty(value = "预约类型，0：参观预约，1：探访预约", required = true)
    private Integer type;

    @ApiModelProperty(value = "预约状态，0：待报道，1：已完成，2：取消，3：过期", required = true)
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人id")
    private Long createBy;

    @ApiModelProperty(value = "更新人id")
    private Long updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;
}
